<?php
/**
 * @package aloevera-biorun
 * @since aloevera-biorun 1.0
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>


        <link rel="profile" href="http://gmpg.org/xfn/11" />
        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
        <!--[if lt IE 9]>
        <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
        <![endif]-->
        
        <!-- CSS -->
        <link href='http://fonts.googleapis.com/css?family=Sintony:400,700' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Gabriela' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
        <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/liteaccordion.css">
        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/jquery/theme/absolution/absolution.css">
        
        
        <!-- JS -->
        <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/simplecart/simpleCart.min.js"></script>
		<script src="<?php echo get_template_directory_uri(); ?>/js/simplecart/configSimpleCart.js"></script>

        
        
        <script>
            $(function() {
              $( "#tabs" ).tabs();
            });
        </script>
        
        <script>
            $(function() {
                $( "#accordion" ).accordion({
                    heightStyle: "content"
                  });
            });
         </script>
        <?php wp_head(); ?>
      
</head>

<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
	<?php do_action( 'before' ); ?>
	<header id="masthead" class="site-header" role="banner">
		<hgroup>
			<h1 class="site-title">
				<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
					<img alt="Logo Aloe Vera Biorun" src="<?php echo get_template_directory_uri(); ?>/imgs/logo.jpg" />
				</a>
                            
                           
			</h1>
                    
		</hgroup>
		<nav id="site-navigation" class="navigation-main" role="navigation">
			<?php wp_nav_menu( array( 'theme_location' => 'top' ) ); ?>
		</nav>
		 <div id="social_link">
						<?php 
						if ( is_user_logged_in() ) {
							echo '<a href="http://imazinworld.net/aloevera-biorun/wp-login.php?action=logout" target="_blank" class="simpleCart_checkout hudbtn primary" style="color:#fff;padding:3px;position: relative;top: -12px;margin-right: 7px">Déconnexion</a>';
						} else {
							echo '<a href="http://imazinworld.net/aloevera-biorun/wp-login.php?loggedout=true" target="_blank" class="simpleCart_checkout hudbtn primary" style="color:#fff;padding:3px;position: relative;top: -12px;margin-right: 7px">Connexion</a>';
						} 
						?>
                     <a href="http://www.facebook.com/aloeverabioreunionforever" target="_blank">
                         <img alt="facebook icone" src="<?php echo get_template_directory_uri(); ?>/imgs/icones/facebook.png"/>
                     </a>
                      <a href="https://twitter.com/AloeVeraReunion" target="_blank" > 
                                   <img alt="twitter icone" src="<?php echo get_template_directory_uri(); ?>/imgs/icones/twitter.png"/>
                      <a/>
                      <a href="http://www.youtube.com/user/aloeverareunion" target="_blank" > 
                                <img alt="youtube icone" src="<?php echo get_template_directory_uri(); ?>/imgs/icones/youtube.png"/>
                      <a/>
                 </div>
	</header>

	<div id="main" class="site-main">
